<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/19
 * Time: 13:21
 */
namespace app\api\controller\v1;

use app\api\model\Plate as PlateModel;

class Plate {

    public function addPlate (){
        $param = input('param.');
//        print_r($param);die;
        $res = PlateModel::create($param);
        if($res){
            return show(0,'添加成功',[]);
        }else {
            return show(400,'添加失败',[]);
        }
    }
}